import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)
const routes = [
    {
        path: '/',
        name: 'Index',
        component: () => import('../views/Index.vue')
    }
]
const router = new VueRouter({
    routes
})
router.beforeEach((to, from, next) => {
    next()
})

export default router
